//// demo_prog/chapter6/lec9_2d_array_out_of_range.c
// 超范围访问数组元素
#include <stdio.h>
int main(void)
{
    int a[10][20] = {0}; // 将数组元素都初始化为0
    printf("Element access: a[9][19] =  %d.\n", a[9][19]);
    printf("Out of range access: a[9][20] =  %d.\n", a[9][20]);
    printf("Ridiculous access: a[10000][20000] =  %d.\n", a[10000][20000]);
    return 0;
}